<li class="route_rule" >
	<% f.fields_for :route_recurrence_rules, :index => :rule do |r| %>
		<div class="assign">
			<%= r.collection_select(:courier_id, Courier.all, :id, :real_name) %>
		</div>
		<div class="assign">
			<% [:su, :m, :t, :w, :th, :f, :s].each do |d| %>
				<%= r.check_box(d) %>
				<%= r.label(d) %>
			<% end %>
		</div>
		<div class='button'%>
			<%= link_to_function "remove", "$(this).up('.route_rule').remove()" %>
		</div>
	<% end %>
</li>
